package com.baibei.ebec.user.systemmessage;

import com.baibei.basic.IPageView;
import com.baibei.basic.IPresenter;
import com.baibei.basic.IPresenterView;
import com.baibei.model.MessageInfo;
import com.baibei.model.MsgInfo;
import com.baibei.model.OrderInfo;

import java.util.List;

public class SystemMessageContract {
    interface SystemMessageView extends IPresenterView {
        /**
         * 完成刷新
         */
        void hideRefreshLayout();

        /**
         * 加载消息数据
         */
        void onLoadMsg(List<MsgInfo> msgInfos);
    }

    interface Presenter extends IPresenter{
        /**
         * 获取消息内容列表
         */
        void getMsgList(String userId,String accessToken);
    }

}
